<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .page-nav {
            width: 300px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #333;
            margin: 10px;
            background-color: aquamarine;
        }

        .page-nav a {
            display: inline-block;
            padding: 5px 10px;
            margin: 0 5px;
            text-decoration: none;
            color: #333;
            border: 1px solid #333;
            border-radius: 5px;
            background-color: white;
        }

        .page-nav a.selected {
            background-color: orangered;
            color: white;
        }

    </style>
</head>
<body>
    <div class="page-nav">
        <a href=""> < </a>
        <a href="" class="selected"> 1 </a>
        <a href=""> 2 </a>
        <a href=""> 3 </a>
        <a href=""> 4 </a>
        <a href=""> > </a>
    </div>
</body>
</html>